package cn.homework.dao;

import cn.homework.domain.Idea;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface FeedbackDao {
    List<Idea> findAllFeedback();

    void addPublishFeedback(String message, String name);

    void addReplyFeedback(String message, String name, String id);

    void delFeedbackById(String id);

    Idea feedbackDetailById(String id);

    List<Idea> findFeedbackByCondition(Map<String, String[]> map);
}
